<template>
  <div class="header">
    <van-nav-bar title="订单信息" @click-left="$router.push('/My')">
      <template #right>
        <van-popover trigger="click" placement="bottom-end" theme="dark">
          <template #reference>
            <van-icon name="ellipsis" size="30" color="black" />
          </template>
        </van-popover>
      </template>
      <template #left>
        <van-icon name="arrow-left" size="30" color="black" />
      </template>
    </van-nav-bar>
  </div>
</template>

<script>
import { myOrder } from "../api/myOrder";
export default {
  data() {
    return {
       
    };
  },
  methods: {},
  created() {
    myOrder({ userid:localStorage.getItem('userid')}).then((res) => {
      console.log(res);
      this.myOrder = res.data;
    });
  },
};
</script>

<style>
</style>